{include file="public/header" /}
<body>

<header class="mui-bar mui-bar-nav mui-box-header ">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title mui-title-box">发钱</h1>
    <a class="mui-action-back mui-icon mui-icon-compose mui-pull-right"></a>
</header>
<div class="mui-content">
    <div class="credit" id="resin">

        <form >
            <div class="credit_list_one">
                <input type="text" class="mui-input-clear real_input bound-list-input"    readonly placeholder="请输入姓名" name="id_name" value="{$name}"/>
                <input type="number" class="mui-input-clear real_input bound-list-input"     readonly placeholder="请输入身份证号码" name="id_number" value="{$IDCard}"/>
                <input type="number" class="mui-input-clear real_input bound-list-input"     placeholder="请输入信用卡卡号"  name="card_number"/>
                <input type="number" class="mui-input-clear real_input bound-list-input"    type="number" placeholder="信用卡背后三维CVN2" name="CVN2"/>
                <input type="text" class="mui-input-clear real_input bound-list-input"  placeholder="请输入信用卡有效期" name="validityDate" maxlength="4"  />
            </div>


        </form>

        <div class="mui-content-padded">
            <button type="button"  class="mui-btn mui-btn-danger mui-btn-block btn-patterm bound">提交</button>
        </div>

    </div>

</div>

{include file="public/footer" /}
<script>
    $('#submit').on('click',function(){
        var params  = {
            url : "{:url('add')}",
            data: $('form').serialize(),
            type: 'post',
            sCallback:function(res){
                window.location.href = "{:url('index')}";

            }
        }
        common.request(params);
    });

</script>
</body>
</html>
